home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-04-03 | 1.6 KB | 66 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH"="Program Options\Other Programs\Magic Mail Monitor"
- "NAME"="Clear Items"
- "VERSION"="1.03"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent file list"
- "TEXT 2"="Clear Radio Links"
- "TEXT 3"="C"
- "TEXT 4"="D"
- "DESCRIPTION 1"="If you do not want that other people can see the items you have saved, click the button."
- "DESCRIPTION 2"="Magic Mail can be obtained at http://www.geocities.com/SiliconValley/Vista/2576/magic.html"
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for his help!"
-
- sP="HKEY_CURRENT_USER\Software\Orient Lab\Magic Mail Monitor\Recent File List\"
-
- 'sP2a="HKCU\Software\Microsoft\MediaPlayer\Radio\MRUList\"
- 'sP2b="HKCU\Software\Microsoft\MediaPlayer\Radio\MRUList\Radio_Station_Count"
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- for l=1 to 5
- s="File" & l
- v=RegReadValue(sP & s)
-
- If IsEmpty(v)=false then
- Call RegDeleteValue(sP & S)
- end if
- Next
-
- Call MsgInformation("Cleared!")
- end if
-
-
- if ElementIndex=2 then
- 'i=RegEnumValues(sp2a)
- 'for l=1 to i
- ' Call RegDeleteValue(sp2a & RegEnumElement(l))
- 'Next
- 'Call RegWriteValue(sp2b,0,2)
-
-
- 'Call MsgInformation("Radio links cleared")
- end if
-
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-